<%@ include file="/WEB-INF/jsp/includes/include.jsp" %>
<p style="clear:both"><a id="leaveFeedback" href="#">You won this auction. Please leave your feedback</a></p>
<div id="leaveFeedbackBox" style="display:none">
	<c:url var="actionUrl" value="/postings/addFeedback.html"  />
	<form:form action="${actionUrl}" modelAttribute="feedback">
		<fieldset class="row1">
			<div class="form-pair">	
				<div class="form-item">
					<label for="feedback">Rating:</label>
				</div>
				<div class="form-value">
					1 <form:radiobutton path="rate" value="1" />
					2 <form:radiobutton path="rate" value="2" />
					3 <form:radiobutton path="rate" value="3" />
					4 <form:radiobutton path="rate" value="4" />
				    5 <form:radiobutton path="rate" value="5" />
					<form:errors path="rate" cssClass="errors" />
				</div>
				<div class="form-item">
					<label for="feedback">Description:</label>
				</div>
				<div class="form-value">
					<form:errors path="description" cssClass="errors" />
					<form:textarea path="description" rows="3" cols="30" />
				</div>
			</div>
		</fieldset>
		<fieldset class="form-submit">
			<div class="form-submit-buttons">
				<input type="submit" class="input-submit" name="submit" value="Add" />
	 		</div>
		</fieldset>
	</form:form>
</div>